<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
	xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
	layout:decorate="~{layout/simple}">
<head>
	<title>成功</title>
	<th:block th:if="${time} > 0">
		<meta http-equiv="Refresh" th:content="${time}+'; url='+${url}" /> 
	</th:block>
</head>
<body>
<th:block layout:fragment="page-content">
	<div class="weui_msg">
		<div class="weui_msg_icon-area">
			<i class="weui_icon_msg weui_icon_success"></i>
		</div>
		<div class="weui_msg_text-area">
			<h2 class="weui_msg_title">操作成功</h2>
			<p class="weui_msg_desc">
				[(${msg})]
			</p>
		</div>
		<div class="weui_msg_opr-area">
			<p class="weui_btn_area">
				<th:block th:if="${url} != null">
					<a class="weui_btn weui_btn_primary" th:href="${url}">确定</a>
				</th:block>
				<th:block th:if="${url} == null">
					<th:block th:if="${back} == true">
						<a class="weui_btn weui_btn_primary" href="javascript:window.history.go(-1);">确定</a>
					</th:block>
					<th:block th:if="${back} == false">
						<a class="weui_btn weui_btn_primary" href="javascript:WeixinJSBridge.call('closeWindow');">确定</a>
					</th:block>
				</th:block>
			</p>
		</div>
	</div>

</th:block>
<th:block layout:fragment="page-js">

</th:block>
</body>
</html>
